package com.zwps.biz.dal.db.object;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;


/**
 * 通讯录表
 * @TableName z_emergency_user
 */
@TableName(value ="z_emergency_user")
@Data
public class ZEmergencyUserDO implements Serializable {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 工作地点
     */
    @TableField(value = "work_position")
    private String workPosition;

    /**
     * 座机
     */
    @TableField(value = "landline")
    private String landline;

    /**
     * 手机电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 岗位
     */
    @TableField(value ="duty")
    private String duty;

    /**
     * 类型 1: 应急指挥 2: 应急抢险
     */
    @TableField(value ="type")
    private Integer type;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 是否删除 0: 否 1: 是
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    // Getters and Setters

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}